package com.yiyuan.app.entity.result;

import com.guaike.core.entity.annotation.DictConvert;
import com.yiyuan.app.entity.constant.BusinessDictCodeConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("房间列表实体")
@Data
public class BaseRoomVO implements Serializable {

    @ApiModelProperty("房间id")
    private Long id;

    @ApiModelProperty("房间名称")
    private String roomName;

    @ApiModelProperty("消耗松果数")
    private Integer multipleValue;

    @ApiModelProperty("围观人数")
    private Integer watchCount;

    @ApiModelProperty("围观人头像，前三个")
    private List<String> watchImageList;

    @ApiModelProperty("是否新区")
    private Boolean isNewArea = Boolean.FALSE;

    @ApiModelProperty("vip等级")
    private Integer vipLevel;

    @ApiModelProperty("拉流地址")
    private String accessUrl;

    @ApiModelProperty("封面URL")
    private String coverUrl;

    @ApiModelProperty("房间状态（1：空闲，2：热玩中，3：维修中,4:离线）")
    @DictConvert(code = BusinessDictCodeConstant.GAME_ROOM_STATUS)
    private Integer roomStatus;

    @ApiModelProperty("房间位置数量，针对街机和潮玩状态热玩中有")
    private Integer positionNum;

    @ApiModelProperty("在玩的位置数量，针对街机和潮玩状态热玩中有")
    private Integer playNum;

    @ApiModelProperty("设备序列号")
    private String serialNumber;
}
